<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%@ page isELIgnored="false"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
<head>
<title>首页</title>
</head>
<body>
	<center>
		<!-- 缴费专区 -->
		<table border="0" width="670" cellspacing="0" cellpadding="5">
			<tr height="35">
				<td style="text-indent:5" valign="bottom"><font color="#004790"><b>■推荐信息</b>『缴费专区』</font></td>
			</tr>
			<tr bgcolor="#FAFCF5">
				<td style="border:1 solid">
					<table border="0" width="100%" cellspacing="0" cellpadding="0">
						<c:forEach items='${list}' var="type" varStatus="vs">
							<c:if test="${vs.count%2==0}">
								<td width="50%">『<b>${type.type_intro}</b>』<a href="info/show_detail.action?type_sign=${type.type_sign}&type_intro=${type.type_intro}">${type.type_intro}标题</a></td>
								</tr>
							</c:if>
							<c:if test="${vs.count%2!=0}">
								<tr height="23">
									<td width="50%">『<b>${type.type_intro}</b>』<a href="info/show_detail.action?type_sign=${type.type_sign}&type_intro=${type.type_intro}">${type.type_intro}标题</a></td>
							</c:if>
						</c:forEach>
					</table>
				</td>
			</tr>
		</table>
		<!-- 广告 -->
		<table border="0" width="670" cellspacing="0" cellpadding="0"
			style="margin-top:1">
			<tr>
				<td align="center"><img src="images/pcard2.jpg"></td>
			</tr>
		</table>
		<!-- 免费专区 -->
		<table border="0" width="670" cellspacing="2" cellpadding="0">
			<tr height="35">
				<td colspan="2" style="text-indent:5" valign="bottom"><font
					color="#004790"><b>■最新信息</b>『免费专区』</font></td>
			</tr>
			<c:forEach items='${list}' var="type" varStatus="vs">
				<c:if test="${vs.count%2!=0}">
					<tr>
				</c:if>
				<td align="center">
					<table border="1" cellspacing="0" cellpadding="0" width="332"
						height="160" rules="none" bordercolor="lightgrey"
						bordercolorlight="lightgrey" bordercolordark="white">
								<tr bgcolor="#00B48F" height="30">
									<td style="text-indent:10"><b><font color="white">▲${type.type_intro}</font></b></td>
								</tr>
							<tr bgcolor="#FAFCF5">
								<td style="text-indent:3">★ <a href="info/open_addinfo.action">发布${type.type_intro}标题</a></td>
							</tr>
								<tr height="20" bgcolor="#FAFCF5">
									<td align="right"><a>更多...</a>&nbsp;&nbsp;</td>
								</tr>
					</table>
				</td>
			</c:forEach>
		</table>
	</center>
</body>
</html>

